<?php
class Bootstrap_SetupDate {
	static public function build() {
		$config = Zend_Registry::get('config');		
		$_timezone = $config->system->timezone;
		if(!empty($_timezone)) {
			date_default_timezone_set($_timezone);
		}
		$_error_reporting = $config->system->error_reporting;
		if(!empty($_error_reporting)) {
			error_reporting($_error_reporting);
		}
	}
}